/**
 * @author 2404559603@qq.com
 * @time 2022-04-18 17:40 PM
 * @description 通用、全局样式管理
 */

/* 全局页面通用配置 ----start----*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "微软雅黑", Arial, sans-serif;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height: 100%;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "微软雅黑", Arial, sans-serif;
    font-size: 20px;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    position: relative;
    height: 100%;
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "微软雅黑", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.42857143;
    color: #1e1e1e;
    background-color: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 全局页面通用配置 ----end----*/



/* 登录页面样式开始 */
.login-box {
    .van-field__left-icon {
        margin-right: 16px;

        .van-icon {
            font-size: 23px;
        }
    }
}

/* 登录页面样式结束 */

/* 注册页面样式开始 */
.reg-box, .me-box{

    .van-icon-arrow-left,
    .van-nav-bar__text,
    .van-nav-bar__title {
        color: black;
    }
}

/* 注册页面样式结束 */
/* 分页页面样式开始 */
.type-contaniner, .me-box {
    .van-icon-arrow-left,
    .van-nav-bar__text,
    .van-nav-bar__title {
        color: black;
    }
    .van-nav-bar__title{
        font-weight: bold;
    }
}

/* 分页页面样式结束 */

/* 购物车页面样式开始 */

.shopping-cart {
    .van-nav-bar__title {
        font-size: 16px;
        font-weight: bold;
    }

    .van-nav-bar__text {
        font-weight: normal;
        color: #555;

    }
}

/* 购物车页面样式结束 */

/* 推荐页面样式开始*/

.recommendCommodity {
    background: #f6f6f6;

    >div {
		
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }

    .van-card {
        height: 100%;
    }

    .van-card__thumb {
        width: 50%;
        height: 100%;

        .van-card__thumb img {
            border-radius: 8px;
            width: 100%;
            height: 100%;
        }
    }

    .van-card__price {
        width: 102%;
    }

    .van-card__footer {
        display: flex;

        button {
            width: 50%;
            display: inline-block;
        }
    }
}

/* 推荐页面样式结束*/

/* 修改密码页面样式开始*/
.edit_box .van-cell__title span {
    font-size: 18px;
    color:#8c8c8c;
}
.edit_box .van-nav-bar__title{
    color:#8c8c8c;
}
.edit_box .van-cell__title {
    margin-top: 40px;
}
.edit_box .van-nav-bar__title {
    font-size: 18px;
}

.edit_box .van-button {
    border: 0px;
    margin-top: 40px;
    font-size: 18px;
}
.edit_box .van-field__body{
    border-bottom: 1px solid  #d9d9d9;
    margin-top: 40px;

}

/* 修改密码页面样式结束*/

/**详情页面样式开始*/
.details {
    .details-banner {
        height: 60%;
        .van-swipe-item {
            width: 100%;
            height: 300px;
        }
    }
}

/**详情页面样式结束*/